import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import 'react-vant/lib/index.css';
import All from "./page/all"
import store from './store';
import App from "./page1/app"
import {Provider} from "react-redux"
import Fenye from './page2/fenyelist';
import Shangxiala from "./page4/shangxiala"
import Pull from "./page5/pull"
import { Route, Switch, NavLink, BrowserRouter as Router,Redirect } from 'react-router-dom'
ReactDOM.render(
  <Provider store={store}>
        <Router>
           {/* <Shangxiala /> */}
           {/* <Pull></Pull> */}
           <All></All>
       </Router>
  </Provider>

 ,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
// reportWebVitals();
